Autogenerated HTML docs for v1.5.3-rc4-15-ga2c3d
diff --git a/git-add.html b/git-add.html index 4e175ed..28f33c6 100644 --- a/git-add.html +++ b/git-add.html
@@ -266,7 +266,7 @@ <h2>NAME</h2> <div class="sectionbody"> <p>git-add - - Add file contents to the changeset to be committed next + Add file contents to the index </p> </div> </div> @@ -276,21 +276,23 @@ </div> <h2>DESCRIPTION</h2> <div class="sectionbody"> -<p>All the changed file contents to be committed together in a single set -of changes must be "added" with the <em>add</em> command before using the -<em>commit</em> command. This is not only for adding new files. Even modified -files must be added to the set of changes about to be committed.</p> -<p>This command can be performed multiple times before a commit. The added -content corresponds to the state of specified file(s) at the time the -<em>add</em> command is used. This means the <em>commit</em> command will not consider -subsequent changes to already added content if it is not added again before -the commit.</p> -<p>The <em>git status</em> command can be used to obtain a summary of what is included -for the next commit.</p> -<p>This command can be used to add ignored files with <tt>-f</tt> (force) -option, but they have to be -explicitly and exactly specified from the command line. File globbing -and recursive behaviour do not add ignored files.</p> +<p>This command adds the current content of new or modified files to the +index, thus staging that content for inclusion in the next commit.</p> +<p>The "index" holds a snapshot of the content of the working tree, and it +is this snapshot that is taken as the contents of the next commit. Thus +after making any changes to the working directory, and before running +the commit command, you must use the <em>add</em> command to add any new or +modified files to the index.</p> +<p>This command can be performed multiple times before a commit. It only +adds the content of the specified file(s) at the time the add command is +run; if you want subsequent changes included in the next commit, then +you must run <em>git add</em> again to add the new content to the index.</p> +<p>The <em>git status</em> command can be used to obtain a summary of which +files have changes that are staged for the next commit.</p> +<p>The <em>add</em> command can be used to add ignored files with <tt>-f</tt> (force) +option, but they have to be explicitly and exactly specified from the +command line. File globbing and recursive behaviour do not add ignored +files.</p> <p>Please see <a href="git-commit.html">git-commit(1)</a> for alternative ways to add content to a commit.</p> </div> @@ -555,7 +557,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 19-Jul-2007 02:09:30 UTC +Last updated 06-Aug-2007 04:38:48 UTC </div> </div> </body>